<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="common_css :: commonHeader('ETF台账')"></head>
<body>
<!--搜索框-->
<form method="post" id="tabfrom">
    <div style="padding:2px" class="easyui-panel" title="数据查询">
        <table class="form-table">
            <tr>
                <td align="right" width="10%">基金名称：</td>
                <td>
                    <input id="accountId" style="width:350px" class="easyui-combotree" multiple="multiple"
                           cascadeCheck="false" data-options="prompt:'==请选择==',panelHeight:'auto'"/>
                </td>
            </tr>
        </table>
        <table class="form-table">
            <tr>
                <td align="right" width="10%">申购开始日期：</td>
                <td align="left"><input style="width:150px" class="easyui-datebox" id="startDate" editable="false"
                                        value="true"
                                        data-options="required:false,showSeconds:false,panelHeight:'auto'"></td>
                <td align="right" width="10%">申购结束日期：</td>
                <td align="left"><input style="width:150px" class="easyui-datebox" id="endDate" editable="false"
                                        value="true"
                                        data-options="required:false,showSeconds:false,panelHeight:'auto'"></td>
                <td align="right" width="10%">证券代码：</td>
                <td align="left"><input id="securityCode" class="easyui-validatebox"></td>
                <td align="right" width="10%">ETF类型：</td>
                <td align="left">
                    <input id="etfType" style="width:150px"
                           data-options="valueField:'value',textField:'showmsg',panelHeight:'auto',prompt:'==请选择=='"
                           class="easyui-combobox"/>
                </td>
            </tr>
            <tr>
                <td align="right" width="10%">申赎方向：</td>
                <td align="left"><input style="width:150px" id="businessType" class="easyui-combobox"
                                        data-options="prompt:'==请选择==',panelHeight:'auto'"/></td>
                <td align="right" width="10%">清算标志：</td>
                <td align="left">
                    <input style="width:150px" id="clearCode"
                           class="easyui-combobox" data-options="prompt:'==请选择==',panelHeight:'auto', valueField: 'label', textField: 'value',
                                    data: [{ label: '',  value: '==全部==' },{ label: 'Y',  value: '已完成' },{ label: 'N', value: '未完成'}]"
                    /></td>
                <td align="right" width="10%">ETF模式：</td>
                <td align="left">
                    <input id="etfMode" style="width:150px"
                           data-options="valueField:'value',textField:'showmsg',panelHeight:'auto',prompt:'==请选择=='"
                           class="easyui-combobox"/>
                </td>
                <td align="right" width="10%">ETF市场：</td>
                <td align="left">
                    <input id="market" style="width:150px"
                           data-options="valueField:'value',textField:'showmsg',panelHeight:'auto',prompt:'==请选择=='"
                           class="easyui-combobox"/>
                </td>
            </tr>
            <tr>
                <td align="right" width="10%">明细汇总：</td>
                <td align="left"><input style="width:150px" id="detailSum"
                                        class="easyui-combobox" data-options="prompt:'==请选择==',panelHeight:'auto', valueField: 'label', textField: 'value',
                                    data: [{ label: '',  value: '==全部==' },{ label: '1',  value: '汇总' },{ label: '2', value: '明细'}]"/>
                    <a class="easyui-linkbutton" iconCls='icon-search' onclick="doSearch();">查询</a></td>
            </tr>

        </table>
    </div>
    <br>
</form>

<div id="toolbar">
    <a href="#" class="easyui-linkbutton" iconcls="icon-reload"
       onclick="renewAccount()">更新台账</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-print"
       onclick="exprotFile()">导出</a>
</div>
<div id="dg" style="width:100%"></div>


<div id="dlg" class="easyui-dialog" style="width:800px;height:400px;top: 20%;"
     closed="true" modal="true" maximizable="true" resizable="true" buttons="#dlg-buttons">

    <div id="dgbp" style="overflow-y: hidden;overflow-x: hidden"></div>
    <div id="dlg-buttons" style="text-align:center">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-back"
           onclick="javascript:$('#dlg').dialog('close')">返回</a>
    </div>
</div>

<div th:include="common_js :: commJS"></div>
<script type="text/javascript"
        th:src="@{/js/etfmanage/account.js}"></script>
</body>


</html>
